package com.hongkl.entity;

import lombok.Data;
import lombok.ToString;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;
@Data
@ToString
@Component
@ConfigurationProperties(prefix = "person")
public class Person {

    private int id;
    private String username;
    private List hobby;
    private Map map;
    private Pet pet;



}
